﻿<%@ Control Language="c#" AutoEventWireup="false" Codebehind="RecommendVideos.ascx.cs" Inherits="VideoWorld.controls.RecommendVideos" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>
<asp:datalist id="dataListRecommend" runat="server" RepeatColumns="2" ShowFooter="False" ShowHeader="False"
	Width="100%">
	<ItemTemplate>
		<TABLE id="Table23" height="100%" cellSpacing="0" cellPadding="0" width="100%" border="0">
			<TR>
				<TD vAlign="top" align="center" height="175">
					<TABLE id="Table24" cellSpacing="0" cellPadding="0" width="90%" border="0">
						<TR>
							<TD align="left"><IMG height="11" src="images/icon_jt.gif" width="11"> <b>
									<asp:Label id=LabelVideoVideoType runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.VideoType") %>'>
									</asp:Label></b></TD>
						</TR>
					</TABLE>
					<TABLE id="Table25" cellSpacing="0" cellPadding="0" width="90%" border="0">
						<TR>
							<TD vAlign="bottom" background="images/under_orangeline.gif" height="4"></TD>
						</TR>
					</TABLE>
					<TABLE id="Table26" cellSpacing="0" cellPadding="3" width="90%" border="0">
						<TR>
							<TD width="20%" height="132"><A href='<%# "VideoInfo.aspx?ID="+DataBinder.Eval(Container, "DataItem.ID") %>' target=_blank>
									<asp:Image id=Image1 runat="server" ImageUrl='<%# "../images/"+DataBinder.Eval(Container, "DataItem.Image") %>'>
									</asp:Image></A></TD>
							<TD align="center" width="80%">
								<TABLE id="Table27" cellSpacing="0" cellPadding="0" width="98%" border="0">
									<TR>
										<TD align="left" height="31"><!--试听：<A onclick="open('TryListen.aspx?FileName=<%# DataBinder.Eval(Container, "DataItem.Download") %>','','width=280,height=162,top=200,left=200')" 
      href="#"><IMG alt="" src="images/soundicon.gif" border="0"></A>--><a href="TryListen/<%# DataBinder.Eval(Container, "DataItem.Download") %>">下载</a><BR>
											名称：
											<asp:Label id="Label1" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.Name") %>'>
											</asp:Label><BR>
											作者：
											<asp:Label id="Label2" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.Author") %>'>
											</asp:Label><BR>
											推荐指数：<BR>
											<script>
											var loop = <%# DataBinder.Eval(Container, "DataItem.Score") %> ;
											for(var i=0 ; i<loop; i++)
											{											
											   document.write('<img src="images/icon_hongye.gif">');											
											}
											</script>
										</TD>
									</TR>
								</TABLE>
							</TD>
						</TR>
						<TR align="center">
							<TD colSpan="2" height="33">
								<TABLE id="Table28" cellSpacing="0" cellPadding="0" width="100%" border="0">
									<TR>
										<TD align="left"><A href='<%# "VideoInfo.aspx?ID="+DataBinder.Eval(Container, "DataItem.ID") %>'>
												<asp:Label id=LabelSummary runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.Summary") %>'>
												</asp:Label></A></TD>
									</TR>
								</TABLE>
							</TD>
						</TR>
					</TABLE>
				</TD>
			</TR>
		</TABLE>
	</ItemTemplate>
	<AlternatingItemTemplate>
		<TABLE id="Table4" height="100%" cellSpacing="0" cellPadding="0" width="100%" border="0">
			<TR>
				<TD vAlign="top" align="center" height="175">
					<TABLE id="Table5" cellSpacing="0" cellPadding="0" width="90%" border="0">
						<TR>
							<TD align="left"><IMG height="11" src="images/icon_jt.gif" width="11"> <b>
									<asp:Label id=LabelVideoVideoTypeTwo runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.VideoType") %>'>
									</asp:Label></b></TD>
						</TR>
					</TABLE>
					<TABLE id="Table6" cellSpacing="0" cellPadding="0" width="90%" border="0">
						<TR>
							<TD vAlign="bottom" background="images/under_orangeline.gif" height="4"></TD>
						</TR>
					</TABLE>
					<TABLE id="Table7" cellSpacing="0" cellPadding="3" width="90%" border="0">
						<TR>
							<TD width="20%" height="132"><A href='<%# "VideoInfo.aspx?ID="+DataBinder.Eval(Container, "DataItem.ID") %>' target=_blank>
									<asp:Image id=Image2 runat="server" ImageUrl='<%# "../images/"+DataBinder.Eval(Container, "DataItem.Image") %>'>
									</asp:Image></A></TD>
							<TD align="center" width="80%">
								<TABLE id="Table8" cellSpacing="0" cellPadding="0" width="98%" border="0">
									<TR>
										<TD align="left" height="31"><!--试听：<A 
      onclick="open('TryListen.aspx?FileName=<%# DataBinder.Eval(Container, "DataItem.Download") %>','','width=280,height=162,top=200,left=200')" 
      href="#"><IMG alt="" src="images/soundicon.gif" border="0"></A>--><a href="TryListen/<%# DataBinder.Eval(Container, "DataItem.Download") %>">下载</a><BR>
											名称：
											<asp:Label id=LabelNameTwo runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.Name") %>'>
											</asp:Label><BR>
											作者：
											<asp:Label id=LabelAuthorTwo runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.Author") %>'>
											</asp:Label><BR>
											推荐指数：<BR>
											<script>
											var loop = <%# DataBinder.Eval(Container, "DataItem.Score") %> ;
											for(var i=0 ; i<loop; i++)
											{											
											   document.write('<img src="images/icon_hongye.gif">');											
											}
											</script>
										</TD>
									</TR>
								</TABLE>
							</TD>
						</TR>
						<TR align="center">
							<TD colSpan="2" height="33">
								<TABLE id="Table9" cellSpacing="0" cellPadding="0" width="100%" border="0">
									<TR>
										<TD align="left"><A href='<%# "VideoInfo.aspx?ID="+DataBinder.Eval(Container, "DataItem.ID") %>'>
												<asp:Label id=LabelSummaryTwo runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.Summary") %>'>
												</asp:Label></A></TD>
									</TR>
								</TABLE>
							</TD>
						</TR>
					</TABLE>
				</TD>
			</TR>
		</TABLE>
	</AlternatingItemTemplate>
</asp:datalist>
